﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="MySlidingMenuGroup.ascx.vb" Inherits="WebForm_CommonControl_MySlidingMenuGroup" %>
<link href="~\css\default.css" rel="stylesheet" type="text/css"/>
<asp:Panel ID="Panel2" runat="server">
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="tb">
<tr>
    <td align="left" style="padding-left: 10px;" background="<%=ResolveUrl("../images/skill_bg.jpg")%>">
        <asp:ImageButton ID="Image1" runat="server" ImageAlign="AbsMiddle" ImageUrl="../images/icon.jpg" AlternateText="(Show Details...)" />
        <a><asp:Label ID="lblMenuName" SkinID="label" runat="server" CssClass="MenuTitle"></asp:Label></a>
    </td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="Panel1" runat="server">
    <asp:MultiView ID="mvList" runat="server" ActiveViewIndex="0">
        <asp:View ID="vwList" runat="server">
            <asp:Repeater ID="rep" runat="server">
                <HeaderTemplate>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                </HeaderTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
                <ItemTemplate>
                <tr>
                  <td align="left" background="<%=ResolveUrl("../images/skill_bg.jpg")%>">
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td>
                                <asp:Image Visible="false" runat="server" id="ItemImage" align="absmiddle" alt="Menu"/>
                            </td>
                            <td align="center">
                                <div id="skill_menu">
                                    <ul><li><a id="aMenuName" runat="server"></a></li></ul>
                                </div>
                            </td>
                        </tr>
                    </table>
                  </td>
                </tr>
                </ItemTemplate>
            </asp:Repeater>
        </asp:View>
        <asp:View ID="vwTree" runat="server">
            <asp:TreeView ID="tv" runat="server" ImageSet="Simple" ShowLines="true" CssClass="tree">
                <NodeStyle Font-Size="14px" />
                <SelectedNodeStyle BackColor="yellow" />
            </asp:TreeView>
        </asp:View>
    </asp:MultiView>
</asp:Panel>
<ajaxToolkit:CollapsiblePanelExtender ID="cpeDemo" runat="Server" TargetControlID="Panel1"
    ExpandControlID="Panel2" CollapseControlID="Panel2" Collapsed="false"  TextLabelID="Label1"
    ImageControlID="Image1" ExpandedText="(Hide Details...)" CollapsedText="(Show Details...)"
    ExpandedImage="../images/icon.jpg" CollapsedImage="../images/icon.jpg"
    SuppressPostBack="true">
</ajaxToolkit:CollapsiblePanelExtender>
